package com.eastfair.venuebooking.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 实体类
 * 展会预定场地表
 * </p>
 *
 * @author gj
 * @since 2022-07-22
 */
@Data
@ApiModel(value = "ExhibitionSpaceUpdateDTO", description = "展会预定场地表")
public class ExhibitionSpaceDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    private Long exhibitionId;
    /**
     * 展会名称
     */
    @ApiModelProperty(value = "展会名称")
    @Size(max = 255, message = "展会名称长度不能超过255")
    private String exhibitionName;
    /**
     * 场地ID
     */
    @ApiModelProperty(value = "场地ID")
    private Long spaceId;
    /**
     * 场地名称
     */
    @ApiModelProperty(value = "场地名称")
    @Size(max = 255, message = "场地名称长度不能超过255")
    private String spaceName;
    /**
     * 场地id列表
     */
    @ApiModelProperty(value = "场地id列表")
    private List<Long> spaceIdList;
}
